import 'package:flame/collisions.dart';
import 'package:flame/components.dart';

class WallComponent extends RectangleComponent with HasGameRef {
  Vector2? dir;

  WallComponent({
    this.dir,
    super.position,
    super.size,
    super.angle,
    super.anchor,
    super.children,
    super.priority,
    super.paint,
    super.paintLayers,
  });

  @override
  Future<void> onLoad() async {
    add(RectangleHitbox());
    return super.onLoad();
  }
}
